package com.ruoyi.asset.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘点任务对象 asset_stock
 *
 * @author asset
 * @date 2024-12-25
 */
@Data
public class AssetStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private String num;

    /** 资产总数 */
    @Excel(name = "资产总数")
    private Long assetCount;

    /** 资产总值 */
    @Excel(name = "资产总值")
    private BigDecimal assetWorth;

    /** 出售总数 */
    @Excel(name = "出售总数")
    private Long saleCount;

    /** 出售总值 */
    @Excel(name = "出售总值")
    private BigDecimal saleWorth;

    /** 报废总数 */
    @Excel(name = "报废总数")
    private Long scrapCount;

    /** 报废总值 */
    @Excel(name = "报废总值")
    private BigDecimal scrapWorth;

    /** 丢失数量 */
    @Excel(name = "丢失数量")
    private Integer loseCount;

    /** 丢失价值 */
    @Excel(name = "丢失价值")
    private BigDecimal loseWorth;

    /** 维修次数 */
    @Excel(name = "维修次数")
    private Long maintainCount;

    /** 维修花费 */
    @Excel(name = "维修花费")
    private BigDecimal maintainWorth;

    /** 采购次数 */
    @Excel(name = "采购次数")
    private Long purchaseCount;

    /** 采购总值 */
    @Excel(name = "采购总值")
    private BigDecimal purchaseWorth;

    /** 结果说明 */
    @Excel(name = "结果说明")
    private String result;

    /** 盘点负责人 */
    @Excel(name = "负责人")
    private String userName;
    private Long userId;

    /** 任务状态 */
    @Excel(name = "任务状态", dictType = "asset_task_status")
    private String status;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

}
